<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="/wondershare/js/jquery.js"></script> 
<script src="/wondershare/js/ad.js"></script> 
<link href="/wondershare/styles/main.css" rel="stylesheet" type="text/css" />
<link href="/wondershare/styles/general.css" rel="stylesheet" type="text/css" />
<style>
table tr td{ text-align:center;}
</style>
<title></title>
<script type="text/javascript">
function get_checked_value()
{
  var  checked_value = '';
 $('[name = "products_list"]:checked').each(function(){
      if(checked_value == '')
	  {
	     checked_value = this.value;
	  }else
	  {
	   checked_value += ','+this.value;
	  }

 });
  return checked_value;
 
}
function get_checked_products_value()
{
  var  checked_value = '';
 $('[name = "products_list"]:checked').each(function(){
      if(checked_value == '')
	  {
	     checked_value = $(this).attr("title");
	  }else
	  {
	   checked_value += ' , '+$(this).attr("title");
	  }

 });
  return checked_value;
 
}
</script>
</head>
<body style="width:710px;">
<form method="POST" action="./ad_text.php?action=products_list&w_type=<{$w_type}>">
    <img height="22" border="0" width="26" alt="SEARCH" src="../images/icon_search.gif">
    <span style="margin-left:2px; font-size:13px; ">产品名称：</span>
   <input type="text" name="products_name" id="products_name"  value="<{$products_name}>" />
   <input type="hidden" name="w_type" value="<{$w_type}>" >
   <input type="hidden" name="products_position" value="<{$ad_products_position}>" >
   <input type="hidden" name="ad_id" value="<{$ad_id}>" >
   <input type="submit" class="button"  name="search" value=" 搜索 ">
</form>
<form>
   <table width="100%" cellspacing="1" cellpadding="2" id="list-table" class="list-div"  style="margin-top:10px;" >
    <tr>
      <th width="70%">产品名称</th>
      <th width="30%">投放</th>
    </tr>
    <{foreach from=$products_list key=key item=info}>
	 <tr>
	  <td width="70%"><{$info.Field_20045}></td>
      <td width="30%"><{$info.checkbox}></td>
	  </tr>
    <{/foreach}>
  </table>
</form>
</body>
</html>
